package com.hu.zhcc.shiro.entity.tj;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 体质类型表
 * </p>
 *
 * @author tj
 * @since 2021-06-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TBodyType extends Model<TBodyType> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 会员编号
     */
    private Integer tMemberId;
    /**
     * 是否为气虚质
     */
    private Integer tQiAsthenia;
    /**
     * 是否为阳虚质
     */
    private Integer tYangQuality;
    /**
     * 是否为阴虚质
     */
    private Integer tYinDeficiency;
    /**
     * 创建时间
     */
    private String createtime;
    /**
     * 修改时间
     */
    private String updatetime;

    private TMember tMember;
    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer gettMemberId() {
        return tMemberId;
    }

    public void settMemberId(Integer tMemberId) {
        this.tMemberId = tMemberId;
    }

    public Integer gettQiAsthenia() {
        return tQiAsthenia;
    }

    public void settQiAsthenia(Integer tQiAsthenia) {
        this.tQiAsthenia = tQiAsthenia;
    }

    public Integer gettYangQuality() {
        return tYangQuality;
    }

    public void settYangQuality(Integer tYangQuality) {
        this.tYangQuality = tYangQuality;
    }

    public Integer gettYinDeficiency() {
        return tYinDeficiency;
    }

    public void settYinDeficiency(Integer tYinDeficiency) {
        this.tYinDeficiency = tYinDeficiency;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(String updatetime) {
        this.updatetime = updatetime;
    }

    public TMember gettMember() {
        return tMember;
    }

    public void settMember(TMember tMember) {
        this.tMember = tMember;
    }
}
